<div class="row-fluid">
    <div class="dispute">
        <a href="/disputeo/dispute/<?php echo $this->dispute->disputeId ?>">
            <p class="triangle-right <?php echo strtolower($this->dispute->category) ?>">
                <?php echo htmlentities($this->dispute->getBubbleText()) ?>
            </p>
        </a>
        <div class="avatar">
            <a href="#">
                <img class="img-polaroid avatar-img" src="/images/default_avatar.gif" height="50" width="50" />
            </a>
            <span>Title: <?php echo strtoupper($this->dispute->title) ?></span>
            <span>Submitted <?php echo $this->dispute->getTimePassed() ?> ago by 
                <a href="#"><?php echo htmlentities($this->dispute->creator) ?></a> to 
                <a href="/<?php echo strtolower($this->dispute->category) ?>">
                    <?php echo $this->dispute->category ?>
                </a>
            </span>
            <?php if ($this->dispute->posts): ?>
                <span>
                    disputed by <a href="#"><?php echo htmlentities($this->dispute->debator) ?></a> | 
                    <strong><?php echo $this->dispute->posts ?> posts</strong> and 
                    <?php echo $this->dispute->views ?> views
                </span>
            <?php else: ?>
            <span>Contest this argument <a href="/disputeo/dispute/<?php echo $this->dispute->disputeId ?>">
                    <i class="icon-edit"></i>
                </a></span>
            <?php endif ?>
        </div>
        <div class="votes">
            <?php if ($this->loggedIn): ?>
                <img class="up-arrow" src="/images/up.gif" data-id="<?php echo $this->dispute->disputeId ?>" />
                <img class="up-arrowOn" src="/images/up-on.gif" />
                <img class="down-arrow" src="/images/down.gif" data-id="<?php echo $this->dispute->disputeId ?>" />
                <img class="down-arrowOn" src="/images/down-on.gif" />
            <?php else: ?>
                <img class="up-arrowOff" src="/images/up.gif" />
                <img class="down-arrowOff" src="/images/down.gif" />
            <?php endif ?>
            <div class="score" id="<?php echo $this->type . '-' . $this->dispute->disputeId ?>" 
                 data-score="<?php echo $this->dispute->score ?>">
                     <?php echo $this->dispute->score ?>
            </div>
        </div>
    </div>
</div>